JavaScript
A5.ListBoxsetColumnOrderImage Method
Syntax
A5.ListBox.setColumnOrderImage(index,direction)
Arguments
- indexnumber
The index of the column to display an order icon in.
- directionnumber
The order direction, "1", "-1" or "0". A value of "0" will remove the sort icon.
Description
Set the sort icon on a given column.
Example
// To get a pointer to the A5.ListBox class see {dialog.object}.getControl // assume lObj is a pointer to an instance of the A5.ListBox class lObj.setColumnOrderImage(3,-1); // set the order icon on column four to be descending.
See Also